<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$da['title']?></title>
<link rel="stylesheet" type="text/css" href="res/css/css.css"/>
<script type="text/javascript" src="res/js/jquery.js"></script>
<script type="text/javascript" src="res/js/js.js"></script>
<link rel="stylesheet" type="text/css" href="res/css/table.css"/>
<style>

</style>
<script>

function initbody(){
	
	
}
function save(o1){
	var da = js.getformdata();
	if(!da.ming){
		js.setmsg('名称不能为空');return;
	}
	js.setmsg('保存中...');
	o1.disabled=true;
	js.ajax({
		type:'post',
		url:'?m=agent&a=savecheck',
		data:da,
		success:function(res){
			if(res=='ok'){
				js.back();
			}else{
				js.setmsg(res);
				o1.disabled=false;
			}
		}
	});
}
</script>
</head>

<body style="background:#f1f1f1">

<?php 
include_once(''.P.'/public/top.html');
?>

<div align="center">

<div style="width:950px;margin:20px 0px" align="left">
	<div style="color:#cccccc">
		<a href="?m=index" class="zhu">平台首页</a> &gt;
		<a href="?m=index" class="zhu">应用管理</a> &gt;
		<a href="" class="zhu">应用操作</a>
	</div>
	<div style="background-color:white;margin:20px 0px;border:1px #eeeeee solid;min-height:500px;border-radius:5px">
		<div style="padding:20px" align="center">
			
			<form name="myform">
			<input type="hidden" name="id" value="<?=$da['id']?>">
			<table width="500px">
			<tr>
				<td height="50" align="right">名称&nbsp;&nbsp;</td>
				<td><input style="width:250px" name="ming" class="input" value="<?=$da['ming']?>"></td>
			</tr>
			<tr>
				<td height="50" align="right">系统地址&nbsp;&nbsp;</td>
				<td><input style="width:250px" name="url" class="input" value="<?=$da['urlaaa']?>"></td>
			</tr>
			<tr>
				<td height="50" align="right"></td>
				<td><button type="button" onClick="save(this)" style="padding:8px 20px;border-radius:5px" class="webbtn" >保存</button>&nbsp;<span id="msgview"></span></td>
			</tr>
			</table>
			</form>
			
			
		</div>
	</div>
</div>



<?php 
include_once(''.P.'/public/footer.html');
?>
</div>

</body>
</html>